Lab5 – Use Tools and C Language to Control UART
----------------------------------------------------------------

/* Please  confirm that another USB is connected to the USB CDC Bridge first !!  */ 

/* Launch TeraTerm and Connect to USB CDC Bridge. */
  or
/* Use Minicom Tool on Host PC for EVB (Optional) */
sudo minicom --baudrate 115200 --device /dev/ttyACM1

----------------------------------------------------------------

/* Launch TeraTerm and Connect to USB CDC Bridge. */
  or
/* Use Microcom Tool on EVB (Optional) */
microcom -s 115200 /dev/ttyS2

----------------------------------------------------------------

/* Create Source Code in C Language */
/* Execute Commands on Host PC */
mkdir -p ~/Linux4MCHP/Projects
cd ~/Linux4MCHP/Projects
code uart.c

/* Copy the source code of "uart.c" and paste it */

----------------------------------------------------------------

/* Compile C Language Code on Host PC */
/* Execute Commands on Host PC */
~/Linux4MCHP/sdk/bin/arm-buildroot-linux-gnueabi-gcc uart.c -o uart_test
ls uart*

----------------------------------------------------------------

/* Send the application to Embedded Linux OS (EVB) */

----------------------------------------------------------------

/* Execute Application on EVB */
chmod +x uart_test
./uart_test

----------------------------------------------------------------